package com.flash.media.service;

import com.flash.media.domain.RecordLog;
import com.flash.media.fegin.MongoFegin;
import com.sun.org.apache.bcel.internal.generic.MONITORENTER;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;

/**
* @description: TODO
* @author admin
* @date 2023/1/2711:58
* @version 1.0
*/
@Service
public class WsService {

    @Autowired
    MongoFegin mongoFegin;

    public String cs(){
        String test = mongoFegin.test();
        return test;
    }

    public void save(RecordLog recordLog){
        mongoFegin.save(recordLog);
    }
}
